<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="Blog" Namespace="CommunityServer.Blogs.Controls" Assembly="CommunityServer.Blogs" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Import Namespace="CommunityServer.Blogs.Components" %>
<%@ Import Namespace="CommunityServer.Blogs.Controls" %>
<style>
.hide
{
	display: none;
}
</style>
<script>
function showReply(node)
{
    var parentNode = node.parentNode;
    for (i = 0; i < parentNode.childNodes.length; i++)
    {
        var currentNode = parentNode.childNodes[i]
        if (currentNode.className == 'replyBody hide')
        {
            currentNode.className = 'replyBody'
        }
        else if (currentNode.className == 'replyBody')
        {
            currentNode.className = 'replyBody hide'
        }
    }
}
</script>
<asp:PlaceHolder runat="server" ID="comments"></asp:PlaceHolder>
<Blog:CommentForm runat="Server" id="form" />